<%@page import="model.Teacher"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
.font_color{
	color: red;
}
</style>
</head>
<body>
<%
	//String name = (String)session.getAttribute("abc");
	Teacher teacher = (Teacher)session.getAttribute("teacher");
%>
<div>
管理员登录成功，欢迎你，
<span class="font_color"><%= teacher.getTecName() %></span>
，请添加新的课程！
</div>
<form action="CourseServlet?action=addCourse" method="post">
	<input type="text" name="course_name" id="" placeholder="请输入课程名称"><br>
	<input type="text" name="course_hour" id="" placeholder="请输入课程课时"><br>
	<input type="text" name="course_grade" id="" placeholder="请输入课程学分"><br>
	<input type="submit" value="提交">
</form>
<div>
	可以<a href="">查看</a>已有的课程信息
</div>
</body>
</html>